#ifndef GAMEOBJECTPROPERTIESWIDGET_H
#define GAMEOBJECTPROPERTIESWIDGET_H

#include "appGlobals.h"
#include <QWidget>
#include "ui_gameobjectpropertieswidget.h"
class AbstractGameObject;
class Document;
namespace Modes { class EditorMode; }

class GameObjectPropertiesWidget : public QWidget
{
	Q_OBJECT

public:
	GameObjectPropertiesWidget(QPointer<Modes::EditorMode> oem, QWidget *parent = 0);
private:
	Ui::GameObjectPropertiesWidget ui;
	int m_nDefaultPageIndex;
	int m_nActorPropertyPageIndex;
	int m_nVisualObjectPropertyPageIndex;
public slots:
	void onDocumentChanged(QPointer<Document> document);
private slots:
	void onSelectedObjectChanged(QPointer<AbstractGameObject> gameObject);
};

#endif // GAMEOBJECTPROPERTIESWIDGET_H
